package com.yunzhong.appointment.illnesstpye.service;

import com.yunzhong.appointment.entity.Illnessposition;
import com.yunzhong.appointment.util.PageData;
import java.util.List;

public interface IllnessTypeService {
    /**
     * 查所有
     * @return
     */
    List<Illnessposition> query(PageData pd);

    /**
     * 根据主键查
     * @return
     */
    Illnessposition queryById(String id);

    /**
     * 保存
     * @param illnessposition
     * @return
     */
    int save(Illnessposition illnessposition);

    /**
     * 修改
     * @param illnessposition
     * @return
     */
    int edit(Illnessposition illnessposition);

    /**
     * 删除
     * @param ids
     * @return
     */
    String delete(String[] ids);

    List<Illnessposition> queryAll();
}
